package com.wocai.jrt.orgadmin.asset.service.spi;

import java.util.List;

import com.vteba.service.generic.MyBatisService;
import com.wocai.jrt.orgadmin.asset.model.AssetAllocationDetail;
import com.wocai.jrt.orgadmin.asset.model.AssetAllocationDetailBean;
import com.wocai.jrt.orgadmin.asset.model.AssetAllocationDetailFlowLog;
import com.wocai.jrt.orgadmin.asset.model.AssetAllocationDetailParams;
import com.wocai.jrt.orgadmin.flow.model.FlowLog;

/**
 * 资产配置明细相关的业务service接口。
 * @author yinlei
 * @date 2016-3-17 17:47:55
 */
public interface AssetAllocationDetailService extends MyBatisService<AssetAllocationDetail, AssetAllocationDetailBean, String> {
	/** 
	* @Title: getAllocationDetail 
	* @Description: 根据assetAllocationID获取 AllocationDetail 的信息
	* @Time:2016年4月7日 下午6:16:09
	* @param aad
	* @return 
	* List<AssetAllocationDetail>    返回类型 
	*/
	List<AssetAllocationDetailParams> getAllocationDetail(AssetAllocationDetail aad);

	/** 
	* @Title: queryFlowLogList 
	* @Description: 获取对应的流程日志，修改 org_ID 为 org_Name 
	* @Time:2016年4月11日 下午5:24:28
	* @param params
	* @return 
	* List<AssetAllocationDetailFlowLog>    返回类型 
	*/
	List<AssetAllocationDetailFlowLog> queryFlowLogList(FlowLog params);

	List<AssetAllocationDetail> getAssetList(AssetAllocationDetail aad);

	int countByAssetList(AssetAllocationDetail aad);
}
